package com.example.library.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 胡绍杆
 * @since 2022-06-16
 */
@TableName("t_menu")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "menu_id", type = IdType.AUTO)
      private Integer menuId;

    private String name;

    private String path;

    private String label;

    private String icon;

    private String url;

    
    public Integer getMenuId() {
        return menuId;
    }

      public void setMenuId(Integer menuId) {
          this.menuId = menuId;
      }
    
    public String getName() {
        return name;
    }

      public void setName(String name) {
          this.name = name;
      }
    
    public String getPath() {
        return path;
    }

      public void setPath(String path) {
          this.path = path;
      }
    
    public String getLabel() {
        return label;
    }

      public void setLabel(String label) {
          this.label = label;
      }
    
    public String getIcon() {
        return icon;
    }

      public void setIcon(String icon) {
          this.icon = icon;
      }
    
    public String getUrl() {
        return url;
    }

      public void setUrl(String url) {
          this.url = url;
      }

    @Override
    public String toString() {
        return "Menu{" +
              "menuId=" + menuId +
                  ", name=" + name +
                  ", path=" + path +
                  ", label=" + label +
                  ", icon=" + icon +
                  ", url=" + url +
              "}";
    }
}
